package com.ruoyi.youtobe.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Title:
 * @author: WYJ
 * @date: 2025/11/12
 */
@Data
public class YoutobeVideoViewCount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /** 视频id */
    @Excel(name = "视频id")
    private String videoId;

    /** 频道名称 */
    @Excel(name = "频道名称")
    private String channelName;

    /** 默认标题 */
    @Excel(name = "默认标题")
    private String defaultTitle;

    /**
     * 播放量
     */
    @Excel(name = "播放量")
    private Long viewCount;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /**
     * 关联频道id
     */
    @Excel(name = "关联频道id")
    private Long channelId;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private String type;

    /**
     * 标题关键字 #后面的
     */
    @Excel(name = "标题关键字 #后面的")
    private String titleKey;
    private Double countHour;
    @Excel(name = "本地封面Ur路径l")
    private String localUrl;

    private List<Long> channelList;
}
